namespace SimpleWebServices.Web.UI.Html
{
    using SimpleWebServices.Data;

    public interface IControl : IElement, IAttributeDisabled, IAttributeTabIndex, IValidation
    {
        Name Name { get; set; }

        string Value { get; set; }

        bool Suppress { get; set; }

        DataCollection ToDataCollection();

        void Update(Name name, string value);
    }
}